<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: ObjectCopyContext</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="../../dc/de1/struct_object_copy_context-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">ObjectCopyContext</div></div>
</div><!--header-->
<div class="contents">

<p>元素拷贝上下文  
 <a href="../../db/de6/struct_object_copy_context.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d1/df4/_object_copy_context_8h_source.html">ObjectCopyContext.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a5ea5f52822a8d8ec625c1464cc79e21b"><td class="memItemLeft" align="right" valign="top"><a id="a5ea5f52822a8d8ec625c1464cc79e21b" name="a5ea5f52822a8d8ec625c1464cc79e21b"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>CloneOptions</b> { <br />
&#160;&#160;<b>CLONE_OPTIONS_None</b> = 0
, <b>CLONE_OPTIONS_AllowCnvDimensionality</b> = (0x0001 &lt;&lt; 0)
, <b>CLONE_OPTIONS_LevelModeMask</b> = (0x0007 &lt;&lt; 1)
, <b>CLONE_OPTIONS_LevelMode_ByUserPref</b> = (0x0001 &lt;&lt; 1)
, <br />
&#160;&#160;<b>CLONE_OPTIONS_LevelMode_CopyIfNotFound</b> = (0x0002 &lt;&lt; 1)
, <b>CLONE_OPTIONS_LevelMode_CopyIfDifferent</b> = (0x0004 &lt;&lt; 1)
, <b>CLONE_OPTIONS_LevelMode_CopyAlways</b> = (0x0003 &lt;&lt; 1)
, <b>CLONE_OPTIONS_LevelMode_AlreadyRemapped</b> = (0x0006 &lt;&lt; 1)
, <br />
&#160;&#160;<b>CLONE_OPTIONS_LevelMode_CopyByNumber</b> = (0x0007 &lt;&lt; 1)
, <b>CLONE_OPTIONS_ScaleReferenceDimensions</b> = (0x0001 &lt;&lt; 4)
, <b>CLONE_OPTIONS_SceneFromElmdscr</b> = (0x0001 &lt;&lt; 5)
, <b>CLONE_OPTIONS_AllowRedirectInternalRefs</b> = (0x0001 &lt;&lt; 6)
, <br />
&#160;&#160;<b>CLONE_OPTIONS_AllowRedirectExternalRefs</b> = (0x0001 &lt;&lt; 7)
, <b>CLONE_OPTIONS_CopyingReferences</b> = (0x0001 &lt;&lt; 8)
, <b>CLONE_OPTIONS_FromSaveAs</b> = (0x0001 &lt;&lt; 9)
, <b>CLONE_OPTIONS_CreatingSharedCellDef</b> = (0x0001 &lt;&lt; 10)
, <br />
&#160;&#160;<b>CLONE_OPTIONS_PreserveObjectIDs</b> = (0x0001 &lt;&lt; 11)
, <b>CLONE_OPTIONS_ForceDependentsToRemap</b> = (0x0001 &lt;&lt; 12)
, <b>CLONE_OPTIONS_DisableAnnotationScaling</b> = (0x0001 &lt;&lt; 13)
, <b>CLONE_OPTIONS_DisableChangeUnits</b> = (0x0001 &lt;&lt; 14)
<br />
 }</td></tr>
<tr class="separator:a5ea5f52822a8d8ec625c1464cc79e21b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a084e890ba772b9725ba15961faba7eef"><td class="memItemLeft" align="right" valign="top"><a id="a084e890ba772b9725ba15961faba7eef" name="a084e890ba772b9725ba15961faba7eef"></a>
ATDATACORE_EXPORT&#160;</td><td class="memItemRight" valign="bottom"><b>ObjectCopyContext</b> (<a class="el" href="../../db/de6/struct_object_copy_context.html">ObjectCopyContext</a> const &amp;)</td></tr>
<tr class="separator:a084e890ba772b9725ba15961faba7eef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f258d0ad71ca3a4401ba64f9f0ec794"><td class="memItemLeft" align="right" valign="top"><a id="a7f258d0ad71ca3a4401ba64f9f0ec794" name="a7f258d0ad71ca3a4401ba64f9f0ec794"></a>
ATDATACORE_EXPORT <a class="el" href="../../db/de6/struct_object_copy_context.html">ObjectCopyContext</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="../../db/de6/struct_object_copy_context.html">ObjectCopyContext</a> const &amp;)</td></tr>
<tr class="separator:a7f258d0ad71ca3a4401ba64f9f0ec794"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e7a40c6c5efe065d55bbb1a5ad14c3a"><td class="memItemLeft" align="right" valign="top"><a id="a4e7a40c6c5efe065d55bbb1a5ad14c3a" name="a4e7a40c6c5efe065d55bbb1a5ad14c3a"></a>
ATDATACORE_EXPORT&#160;</td><td class="memItemRight" valign="bottom"><b>ObjectCopyContext</b> (ATSceneRefP dest)</td></tr>
<tr class="separator:a4e7a40c6c5efe065d55bbb1a5ad14c3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5495ec71d874e6bf0c3050b5b16bb52"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de6/struct_object_copy_context.html#ae5495ec71d874e6bf0c3050b5b16bb52">DoCopy</a> (HEATObjectR objHd)</td></tr>
<tr class="memdesc:ae5495ec71d874e6bf0c3050b5b16bb52"><td class="mdescLeft">&#160;</td><td class="mdescRight">拷贝指定的元素  <a href="../../db/de6/struct_object_copy_context.html#ae5495ec71d874e6bf0c3050b5b16bb52">更多...</a><br /></td></tr>
<tr class="separator:ae5495ec71d874e6bf0c3050b5b16bb52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ff77c5ed1b8764df44d639ddcee67f4"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de6/struct_object_copy_context.html#a9ff77c5ed1b8764df44d639ddcee67f4">SetWriteObjects</a> (bool writeAllObjects)</td></tr>
<tr class="memdesc:a9ff77c5ed1b8764df44d639ddcee67f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置拷贝上下文，用于确定被拷贝的元素描述符是否会被写入到目标场景引用  <a href="../../db/de6/struct_object_copy_context.html#a9ff77c5ed1b8764df44d639ddcee67f4">更多...</a><br /></td></tr>
<tr class="separator:a9ff77c5ed1b8764df44d639ddcee67f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa655c5085b2eaa6c5928052bffdfd619"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de6/struct_object_copy_context.html#aa655c5085b2eaa6c5928052bffdfd619">SetTransformToDestination</a> (bool transformToDestination)</td></tr>
<tr class="memdesc:aa655c5085b2eaa6c5928052bffdfd619"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置拷贝元素时是否对元素进行缩放以适应目标场景的单位  <a href="../../db/de6/struct_object_copy_context.html#aa655c5085b2eaa6c5928052bffdfd619">更多...</a><br /></td></tr>
<tr class="separator:aa655c5085b2eaa6c5928052bffdfd619"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27849dbd2436be65a75a3086afb94f1e"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de6/struct_object_copy_context.html#a27849dbd2436be65a75a3086afb94f1e">GetTransformToDestination</a> () const</td></tr>
<tr class="memdesc:a27849dbd2436be65a75a3086afb94f1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前是否对元素进行缩放以适应目标场景的单位的设置  <a href="../../db/de6/struct_object_copy_context.html#a27849dbd2436be65a75a3086afb94f1e">更多...</a><br /></td></tr>
<tr class="separator:a27849dbd2436be65a75a3086afb94f1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aece71899acf0a2a57f84d62b57af1445"><td class="memItemLeft" align="right" valign="top"><a id="aece71899acf0a2a57f84d62b57af1445" name="aece71899acf0a2a57f84d62b57af1445"></a>
ATDATACORE_EXPORT&#160;</td><td class="memItemRight" valign="bottom"><b>ObjectCopyContext</b> (ATSceneRefP destScene, ATSceneRefP srcScene, bool newGGFlag, bool newNodesFlag, bool transformToDestination, ViewportP vp, CloneOptions cloneOpts)</td></tr>
<tr class="separator:aece71899acf0a2a57f84d62b57af1445"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >元素拷贝上下文 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ae5495ec71d874e6bf0c3050b5b16bb52" name="ae5495ec71d874e6bf0c3050b5b16bb52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5495ec71d874e6bf0c3050b5b16bb52">&#9670;&nbsp;</a></span>DoCopy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT StatusInt ObjectCopyContext::DoCopy </td>
          <td>(</td>
          <td class="paramtype">HEATObjectR&#160;</td>
          <td class="paramname"><em>objHd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>拷贝指定的元素 </p>
<dl class="section note"><dt>注解</dt><dd>单位和ID将会被重映射</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">HEATObjectR</td><td>objHd </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT StatusInt</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/12 </dd></dl>

</div>
</div>
<a id="a27849dbd2436be65a75a3086afb94f1e" name="a27849dbd2436be65a75a3086afb94f1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27849dbd2436be65a75a3086afb94f1e">&#9670;&nbsp;</a></span>GetTransformToDestination()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT bool ObjectCopyContext::GetTransformToDestination </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取当前是否对元素进行缩放以适应目标场景的单位的设置 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/10/12 </dd></dl>

</div>
</div>
<a id="aa655c5085b2eaa6c5928052bffdfd619" name="aa655c5085b2eaa6c5928052bffdfd619"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa655c5085b2eaa6c5928052bffdfd619">&#9670;&nbsp;</a></span>SetTransformToDestination()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT void ObjectCopyContext::SetTransformToDestination </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>transformToDestination</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置拷贝元素时是否对元素进行缩放以适应目标场景的单位 </p>
<p >默认为true</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>transformToDestination 是否对元素进行缩放以适应目标场景的单位 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/10/12 </dd></dl>

</div>
</div>
<a id="a9ff77c5ed1b8764df44d639ddcee67f4" name="a9ff77c5ed1b8764df44d639ddcee67f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ff77c5ed1b8764df44d639ddcee67f4">&#9670;&nbsp;</a></span>SetWriteObjects()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT void ObjectCopyContext::SetWriteObjects </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>writeAllObjects</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置拷贝上下文，用于确定被拷贝的元素描述符是否会被写入到目标场景引用 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>writeAllElements true将拷贝所有元素到目标场景引用；false将只拷贝必须的额外元素 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/12 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATDataCore/<a class="el" href="../../d1/df4/_object_copy_context_8h_source.html">ObjectCopyContext.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
